import request from '@/utils/request'

export default{
//   获取食品种类
    getFoodType(restaurant_id){
       return request.get(`/shopping/getcategory/${restaurant_id}`)
    },

    //添加食品种类
    addFoodType(data){
      return request.post('/shopping/addcategory',data)
    },

    //添加食品
    addFood(data){
       return request.post('/shopping/addfood',data)
    }
}